#ifndef GULLENGINE_TIMER_H
#define GULLENGINE_TIMER_H

#include <iostream>
#include <time.h>

namespace gull {
    namespace core {
        
        typedef double gullTime;
        
		
        class Timer
        {
        public:
            static void wait(int seconds);
            
            Timer();
            void start();
            void stop();
			void restart();
            gullTime getTime() const;
            static void testClass();
            
        protected:
            gullTime m_time;
            gullTime m_timeStart;
            gullTime m_timeStop;
            
        private:
            
        };
        
        
    }
}

extern std::ostream& operator<<(std::ostream& o, const gull::core::Timer& t);



#endif